package com.eightbears.beboy.entity;

import com.socks.library.KLog;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/9/23.
 */

public class TagsEntity implements Serializable {

    /**
     * message : success
     * status_code : 200
     * data : [{"tag_id":2,"name":"活泼可爱","bg_color":"#cccccc","text_color":"#f9f3f3","type":2},{"tag_id":3,"name":"聪明伶俐","bg_color":"#eaa4a4","text_color":"#110202","type":2},{"tag_id":7,"name":"妹妹妹妹","bg_color":"#1cbc83","text_color":"#211515","type":2},{"tag_id":8,"name":"嘻嘻嘻嘻","bg_color":"#8344d3","text_color":"#ada5a5","type":2},{"tag_id":9,"name":"粉打发打","bg_color":"#e0a25a","text_color":"#e5d8d8","type":2}]
     */
    private String message;
    private int status_code;
    private List<DataBean> data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus_code() {
        return status_code;
    }

    public void setStatus_code(int status_code) {
        this.status_code = status_code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * tag_id : 2
         * name : 活泼可爱
         * bg_color : #cccccc
         * text_color : #f9f3f3
         * type : 2
         */

        private int tag_id;
        private boolean isCheck = false;
        private String name;
        private String bg_color;
        private String text_color;
        private int type;
        private int checkNum;

        public int getCheckNum() {
            return checkNum;
        }

        public void setCheckNum(int checkNum) {
            KLog.e(checkNum);
            this.checkNum = checkNum;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "tag_id=" + tag_id +
                    ", isCheck=" + isCheck +
                    ", name='" + name + '\'' +
                    ", bg_color='" + bg_color + '\'' +
                    ", text_color='" + text_color + '\'' +
                    ", type=" + type +
                    ", checkNum=" + checkNum +
                    '}';
        }

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        public int getTag_id() {
            return tag_id;
        }

        public void setTag_id(int tag_id) {
            this.tag_id = tag_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getBg_color() {
            return bg_color;
        }

        public void setBg_color(String bg_color) {
            this.bg_color = bg_color;
        }

        public String getText_color() {
            return text_color;
        }

        public void setText_color(String text_color) {
            this.text_color = text_color;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
